package com.fernandomartines.dbcheck.graph.element;

import java.io.Serializable;

public class ModelGraphEntity implements Serializable {

    private String id;
    private String name;

    private ModelGraphAttributes attributes;
    private ModelGraphOperations operations;

    // constructors

    public ModelGraphEntity() {
        this.id = "";
        this.name = "";
        this.attributes = new ModelGraphAttributes();
        this.operations = new ModelGraphOperations();
    }

    public ModelGraphEntity(String id, String name) {
        this();
        this.id = id;
        this.name = name;
    }

    // getters and setters

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ModelGraphAttributes getAttributes() {
        return attributes;
    }

    public void setAttributes(ModelGraphAttributes attributes) {
        this.attributes = attributes;
    }

    public ModelGraphOperations getOperations() {
        return operations;
    }

    public void setOperations(ModelGraphOperations operations) {
        this.operations = operations;
    }

}
